package org.crazyit.activiti_d5._2_Handler;

public abstract class Handler {

    //下一任处理者
    protected Handler next;

    public void setNext(Handler next) {
        this.next = next;
    }

    //处理请求的方法, 交由子类实现
    public abstract void execute(Request request);

}
